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 15a.94.94 0 0 1-1 1H4c-1.1 0-2-.9-2-2V6a.94.94 0 0 1 1-1h15a.94.94 0 0 1 1 1v12zm2-1a.94.94 0 0 1-1-1 .94.94 0 0 1 1-1 .94.94 0 0 1 1 1 .94.94 0 0 1-1 1z',

  'imac-ssd':
    'M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2v-3a1.08 1.08 0 0 1 1-1h10a1.08 1.08 0 0 1 1 1v3c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM7 6a.94.94 0 0 1-1-1 .94.94 0 0 1 1-1 .94.94 0 0 1 1 1 .94.94 0 0 1-1 1zm10 0a.94.94 0 0 1-1-1 .94.94 0 0 1 1-1 .94.94 0 0 1 1 1 .94.94 0 0 1-1 1zm-4.4 16h-1.1v-3h1.1v3zm2.2 0h-1.1v-3h1.1v3zm2.2 0h-1.1v-3H17v3zm-8.9 0H7v-3h1.1v3zm2.2 0H9.2v-3h1.1v3z',

  'studio-monitor':
    'M18 0H6C4.9 0 4 .9 4 2v20c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm-6 2.5A1.54 1.54 0 0 1 13.5 4 1.54 1.54 0 0 1 12 5.5 1.54 1.54 0 0 1 10.5 4 1.54 1.54 0 0 1 12 2.5zM16 22H8v-2h8v2zm-4-3a6.02 6.02 0 0 1-6-6 6.02 6.02 0 0 1 6-6 6.02 6.02 0 0 1 6 6 6.02 6.02 0 0 1-6 6zm0-10c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z',

  'eq-calibrate':
    'M6 22H3v-2h3v2zm0-5H3v2h3v-2zm0-3H3v2h3v-2zm0-3H3v2h3v-2zm0-3H3v2h3V8zm5 12H8v2h3v-2zm5 0h-3v2h3v-2zm0-3h-3v2h3v-2zm0-3h-3v2h3v-2zm0-3h-3v2h3v-2zm0-3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'hdmi-source':
    'M10 16v-3H2v-2h8V8l5 4-5 4zM20 3H4c-1.1 0-2 .9-2 2v4h2V5h16v14H4v-4H2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z',

  'iphone-modern':
    'M16 1H8C6.3 1 5 2.3 5 4v16a3.01 3.01 0 0 0 3 3h8a3.01 3.01 0 0 0 3-3V4c0-1.7-1.3-3-3-3zm1 18c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2V5c0-1 .7-1.8 1.6-2 .2.8 1 1.5 1.9 1.5h3c.9 0 1.7-.6 1.9-1.5.9.2 1.6 1 1.6 2v14z',

  'lock':
    'M18,11V8c0-3.3-2.7-6-6-6S6,4.7,6,8v3H5v11h14V11H18z M8,8c0-2.2,1.8-4,4-4s4,1.8,4,4v3H8V8z',

  'imac-alternative':
    'M8 22l2-2h4l2 2H8zM24 4v13c0 1.1-.9 2-2 2H2c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h20c1.1 0 2 .9 2 2zm-2 0H2v11h20V4z',
};

async function getIcon(name) {
  return {
    path: ICON[name]
  };
}

window.customIconsets = window.customIconsets || {};
window.customIconsets['custom'] = getIcon;
